package com.hua.designpattern.creational.simplefactory;

public class Bicycle implements Drivable {

	private String name = "BIKE";

	private int height;

	private double price;

	@Override
	public void drive() {
		System.out.println(name + " is driving!!");
	}

	@Override
	public void stop() {
		System.out.println(name + " is stopped!!");
	}

	public String getName() {
		return name;
	}

	public int getHeight() {
		return height;
	}

	public void setHeight(int height) {
		this.height = height;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

}
